package com.atguigu.interview.study.circulardepend.setinjection;

import com.atguigu.interview.study.circulardepend.constructorinjection.ServiceA;

/**
 * @author gcq
 * @Create 2020-12-09
 */
public class ClientSet {
    public static void main(String[] args) {
        // 创建ServiceAB
        ServiceAA serviceAA = new ServiceAA();
        // 创建ServiceBB
        ServiceBB serviceBB = new ServiceBB();

        serviceAA.setServiceBB(serviceBB);
        serviceBB.setServiceAA(serviceAA);
    }
}